From: Florian Müllner Date: Tue, 13 Sep 2016 19:18:17 +0000 (+0200) Subject: altTab: Restore correct visibility when cycling windows X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~712 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d6a78d61d1b5fde8a5d657437287cfd473b7e546;p=gnome-shell.git altTab: Restore correct visibility when cycling windows Commit 3171819c improved window cycling by using a dedicated to clone for highlighting rather than activating all cycled windows. Original window actors are hidden while its clone is showing, and shown again afterwards, however the latter is wrong for actors that are not supposed to be visible (for example where the window is minimized, or on a different workspace). Fix this by properly syncing the actor's visibility instead of showing it unconditionally. https://bugzilla.gnome.org/show_bug.cgi?id=771536 --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index e65d46b5a..c2217075b 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -386,7 +386,7 @@ const CyclerHighlight = new Lang.Class({ this._window = w; if (this._clone.source) - this._clone.source.show(); + this._clone.source.sync_visibility(); let windowActor = this._window ? this._window.get_compositor_private() : null;